<template>
  <el-radio-group v-model="activeName" @change="handlerChnagetab">
    <el-radio :label="1">年</el-radio>
    <el-radio :label="2">季</el-radio>
    <el-radio :label="3">月</el-radio>
    <el-radio :label="4">周</el-radio>
  </el-radio-group>
</template>
      
      <script>
export default {
  data() {
    return {
      activeName: 1,
    };
  },
  methods: {
    handlerChnagetab(value) {
      this.$emit("handlerChnagetab", value);
    },
  },
};
</script>
